package com.suifeng.mq.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("t_order_item")
public class OrderItemEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * order_sn
	 */
	private String orderSn;
	/**
	 * 商品id
	 */
	private Long goodsId;
	/**
	 * 商品名字
	 */
	private String goodsName;

	/**
	 * 商品购买的数量
	 */
	private int goodsNum;

	private Date createTime;
}
